# 用for循环输出九九乘法表
a = range(1, 10)
b = range(1, 10)
for i in a:
    for v in b:
        print(i, '*', v, '=', i * v, end=' ')
print()
